<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<#include "../common/res.html">
		<script type="text/javascript">
			function doDelete(id){
				if(confirm("确定删除?")){
					window.location.href='${s.base}/wxcms/eimpaccount/delete.html?id='+id;
				}
			}
		</script>
	</head>

	<body class="bg">
		<#include "../common/top.html">
		
		<div class="content">
			<div class="block-nav">
				<#include "../common/nav.html">
			</div>
		
			<div class="block-content" >
				<div class="block-content-nav">
					<span class="title">组织机构管理</span>
				</div>
				
				<div class="block-content-description">
					<span>
						维护组织机构
					</span>
				</div>
				
				<div class="block-content-content">
					<form id="id_fm_form">
						<table class="fm-table">
							<thead>
								<tr>
									<td style="width:10px;">微信名称</td>
									<td style="width:10px;">角色名称</td>
									<td style="width:100px;">
									</td>
								</tr>
							</thead>
							<tbody>
								<#list pageList as item>
								<#if item_index %2 == 0>
								<tr style="height:40px;">
								<#else>
								<tr class="even-tr" style="height:40px;">
								</#if>
									<td style="width:100px;">${item.nicknameStr!}</td>
									<td style="width:100px;">${item.roleName!}</td>
									<td style="width:100px;">
										<a href="${s.base}/wxcms/eimpaccount/toMerge.html?id=${item.id!}&openid=${item.openid}">修改</a>&nbsp;&nbsp;
										<#if item.id??>
											<a href="javascript:void(0);" onclick="doDelete('${item.id!}')">删除</a>&nbsp;&nbsp;
										</#if>
									</td>
								</tr>
								</#list>
							</tbody>
						</table>
					</form>
				</div>
			</div>
			<div class="clearfloat"></div>
		</div>
		<#include "../common/footer.html">
	</body>
</html>
